package com.guigu.community.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.community.mapper.RepositoryMapper;
import com.guigu.community.pojo.Repository;
import com.guigu.community.service.RepositoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RepositoryServiceImpl extends ServiceImpl<RepositoryMapper, Repository> implements RepositoryService {
    @Autowired
    private RepositoryMapper repositoryMapper;


    @Override
    public List<Repository> selectAll() {
        return repositoryMapper.selectList(null);
    }
}
